package com.qdc.datacenters.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 部门信息表(SysDept)表实体类
 *
 * @author danmo
 * @since 2024-02-26 17:31:45
 */
@Schema
@Data
@SuppressWarnings("serial")
@TableName("sys_dept")
public class SysDept extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 329181098794466494L;

    /**
     * 部门ID
     */

    @Schema(description = "部门ID")
    @TableId(type = IdType.AUTO)
    private Long deptId;


    /**
     * 部门名称
     */
    @Schema(description = "部门名称")
    @TableField("dept_name")
    private String deptName;


    /**
     * 父ID
     */
    @Schema(description = "父ID")
    @TableField("parent_id")
    private Long parentId;


    /**
     * 显示顺序
     */
    @Schema(description = "显示顺序")
    @TableField("order")
    private Integer order;


    /**
     * 部门状态（0正常 1停用）
     */
    @Schema(description = "部门状态（0正常 1停用）")
    @TableField("status")
    private Integer status;


    /**
     * 备注
     */
    @Schema(description = "备注")
    @TableField("remark")
    private String remark;


}

